/**
 * Created with IntelliJ IDEA.
 * User: ajhin
 * Date: 9/9/13
 * Time: 8:45 AM
 * To change this template use File | Settings | File Templates.
 */
package com.societyGames.codeAlong.state.codeExercise.model
{
public class TestCaseStatus
{
  public static const loadingCodeExercise:TestCaseStatus = new TestCaseStatus("loadingCodeExercise");
  public static const resetting:TestCaseStatus = new TestCaseStatus("resetting");
  public static const ready:TestCaseStatus = new TestCaseStatus("ready");
  public static const executing:TestCaseStatus = new TestCaseStatus("executing");
  public static const stopped:TestCaseStatus = new TestCaseStatus("stopped");
  public static const exceptioned:TestCaseStatus = new TestCaseStatus("exceptioned");
  public static const unhandledExceptioned:TestCaseStatus = new TestCaseStatus("unhandledExceptioned");
  public static const failed:TestCaseStatus = new TestCaseStatus("failed");
  public static const succeeded:TestCaseStatus = new TestCaseStatus("succeeded");

  private var _name:String;

  public function TestCaseStatus(name:String)
  {
    _name = name;
  }

  public function get name():String
  {
    return _name;
  }

}
}

/*Loading -> Execute: Running. Else: Ready.
 Ready -> Execute: Running.
 Running -> Error, Success, Fail, Stopped.
 Error, Success, Fail, Stopped -> Reset: Ready. Execute: Running.*/